package com.applicationLayer.formbean;

import java.util.Date;



public class AdminForm {
	
	private int id;
	private String login;
	private String password;
	private String name;
	private String firstName;
	private Date lastConnexion;
	//uniquement pour JSP non transmit dans Admin.class
	private String confirmPassword;
	
	public AdminForm(){		
	}
	
	
	
	
	
	
	
	
	/**************************************************************
	*                           GETTER AND SETTER                 *
	***************************************************************/
	
	/**
	 * @return the login
	 */
	public String getLogin() {
		return login;
	}
	/**
	 * @param login the login to set
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @return the lastConnexion
	 */
	public Date getLastConnexion() {
		return lastConnexion;
	}
	/**
	 * @param lastConnexion the lastConnexion to set
	 */
	public void setLastConnexion(Date lastConnexion) {
		this.lastConnexion = lastConnexion;
	}
	
	/**
	 * @return the confirmPassword
	 */
	public String getConfirmPassword() {
		return confirmPassword;
	}

	/**
	 * @param confirmPassword the confirmPassword to set
	 */
	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}


	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

}
